package com.bm.api.service;

import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "bm-Server")
public interface ActivityService {
    @GetMapping("/server/activity/all.do")
     R all();
    @GetMapping("/server/activity/one.do")
     R one( @RequestParam  int id);
}
